package system.service;


import java.util.List;

import common.pojo.SysAdmin;


public interface IAdminService {

	public SysAdmin getByName(String name);

	public boolean update(SysAdmin admin);

	public SysAdmin findById(int id);

	public boolean updateAdmin(SysAdmin admin);

	public boolean updatepwd(SysAdmin admin);
	
	public int getCount();
	
	public List<SysAdmin> find(int start,int limit);

	public boolean saveAdmin(SysAdmin admin);

	public boolean delete(String ids);

}
